package com.ebei.platform.vo;

import lombok.Data;

@Data
public class ResultVO<T> {
    
    private String ErrorCode;
    
    private String ErrorMessage;
    
    private T Data;
    
    public ResultVO(String status, String message) {
        this.ErrorCode = status;
        this.ErrorMessage = message;
    }
    
    public ResultVO(String status, String message, T data) {
        this.ErrorCode = status;
        this.ErrorMessage = message;
        this.Data = data;
    }
}
